package com.woniuxy01;

public class Test05 {
    public static void main(String[] args) {
        String s1="Abcdefg";
        String s2="abcdefg";
//        System.out.println(s1.compareTo(s2));
//        System.out.println(s1.compareToIgnoreCase(s2));
//        String s3=s1+s2;
        s1 = s1.concat(s2);
        System.out.println(s1);
        System.out.println(s2);
//        System.out.println(s3);
        String s5="abcdefg";
        System.out.println(s5.contains("abc"));
        System.out.println(s5.contains("abd"));
    }


}
